/**
 * @author alex
 */

Namespace("sketch.framework.commands");

(function(cmd){
	cmd.Command = klass(null, {
        _constructor: function(){
            this._name = null;
            this._description = null;
            this._transparent = false;
        },

        canExecute: function(){
            return true;
        },

        execute: function(isRedo){
        },

        rollback: function(){
        },

        description: function(value){
            if (arguments.length === 1 && value !== undefined){
                this._description = value;
            }
            return this._description;
        },
        name: function(value){
            if (arguments.length === 1 && value !== undefined){
                this._name = value;
            }
            return this._name;
        },
        transparent: function(value){
            if (arguments.length === 1 && value !== undefined){
                this._transparent = value;
            }
            return this._transparent;
        }
    });
	
})(sketch.framework.commands);
